//
//  ZYCLectureRecordsModel.m
//  ZDSC
//
//  Created by ZDTX on 2021/8/10.
//

#import "ZYCLectureRecordsModel.h"

@implementation ZYCLectureRecordsModel
//1：正常；2：迟到；3：取消；4：异常）
- (NSString *)classStatusStr{
    NSString *str;
    if ([self.classStatus isEqualToString:@"1"]) {
        str = @"正常";
    }else if ([self.classStatus isEqualToString:@"2"]) {
        str = @"迟到";
    }else if ([self.classStatus isEqualToString:@"3"]) {
        str = @"取消";
    }else if([self.classStatus isEqualToString:@"4"]){
        str = @"异常";
    }else{
        str = nil;
    }
    return str;
}
@end
